Skip to content

Conversation

@Sola-ris
Copy link
Contributor

@Sola-ris Sola-ris commented Nov 8, 2025

Summary

Display the first image contained in an archive as the thumbnail.

This functionality already existed for ePubs, so I've expanded it to the known archive file types.
I've left out .gz files since they're not guaranteed to be (tar) archives and could just be random compressed data.

Closes #1044

Before

before

After

after

File used for testing

testFiles.zip
Contains multiple archive types, packed to avoid uploading 14 different files and to get around GitHub's file type limitations.

Tasks Completed

  • Platforms Tested:
    • Windows x86
    • Windows ARM
    • macOS x86
    • macOS ARM
    • Linux x86
    • Linux ARM
  • Tested For:
    • Basic functionality
    • PyInstaller executable

@CyanVoxel CyanVoxel added Type: UI/UX User interface and/or user experience Status: Review Needed A review of this is needed Thumbs/Previews File thumbnails or previews labels Nov 8, 2025
@CyanVoxel CyanVoxel moved this to 🏓 Ready for Review in TagStudio Development Nov 8, 2025
@CyanVoxel CyanVoxel added this to the Alpha v9.5.x milestone Nov 8, 2025
@CyanVoxel CyanVoxel self-assigned this Dec 15, 2025
@CyanVoxel CyanVoxel moved this from 🏓 Ready for Review to 👀 In review in TagStudio Development Dec 15, 2025
Copy link
Member

@CyanVoxel CyanVoxel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything checks out on my end, thank you so much for your work on this!

@CyanVoxel CyanVoxel merged commit 84cf470 into TagStudioDev:main Dec 17, 2025
6 checks passed
@github-project-automation github-project-automation bot moved this from 👀 In review to ✅ Done in TagStudio Development Dec 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Status: Review Needed A review of this is needed Thumbs/Previews File thumbnails or previews Type: UI/UX User interface and/or user experience

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

[Feature Request]: Thumbnail preview to .Zip files

2 participants